﻿using B.S.DataBase.MyProject.Domain.SalesReports;
using B.S.DataBase.MyProject.ErrorCode;
using MediatR;

namespace T.E.ERP.Read.API.Applicantions.Command.Kanbans
{
    public class TemplateCommand4:IRequest<APIResult<List<MaterialInOutDto>>>
    {
        /// <summary>
        /// 客户名称
        /// </summary>
        public string? ClientName { get; set; }
        /// <summary>
        /// 物料名称
        /// </summary>
        public string? WuliaoName { get; set; }
        /// <summary>
        /// 退货数量
        /// </summary>
        public int ReturnNum { get; set; }
        /// <summary>
        /// 入库数量
        /// </summary>
        public int RuNum { get; set; }
        /// <summary>
        /// 最大返回记录数
        /// </summary>
        public int? TopN { get; set; }
    }
    /// <summary>
    /// 物料出入库DTO
    /// </summary>
    public class MaterialInOutDto
    {
        public string? ClientName { get; set; }
        public int ReturnNum { get; set; }
        public int RuNum { get; set; }
        public string? WuliaoName { get; set; }
    }
}
